package main

import (
	"fmt"
	"strings"
)

func main() {
	fmt.Print("输入：")
	var str1 string
	fmt.Scan(&str1)
	var patter_str string
	var str2 = str1[:2]
	var flag int=1
	if str2 == "0b" {
		patter_str = "01"
	}
	if str2 == "0o" {
		patter_str = "01234567"
	}
	if str2 == "0x" {
		patter_str = "0123456789abcdef"
	}
	for _, i := range str1[2:] {
		if strings.Contains(patter_str, string(i)) {
			flag = 0
		} else {
			flag = 1
			break
		}
	}
	if flag == 0 {
		fmt.Print("是整形")

	} else {
		fmt.Print("不是整形")
	}

}